package org.jackysoft.service.impl;

import org.jackysoft.data.AbstractMongodbDataProvider;
import org.jackysoft.entity.nosql.SecurityRoleNotify;
import org.jackysoft.service.SecurityRoleNotifyService;
import org.springframework.stereotype.Service;

@Service
public class SecurityRoleNotifyServiceImpl extends
AbstractMongodbDataProvider<SecurityRoleNotify> implements
		SecurityRoleNotifyService {

	public SecurityRoleNotifyServiceImpl() {
		super();
	}

	@Override
	public void doneEvent(String id) {
		SecurityRoleNotify sr = new SecurityRoleNotify();
		sr.setId(id);
		sr.setDone(true);
		super.update(sr);

	}
	
}
